﻿using System;
using System.ComponentModel;

namespace YouWei.Infrastructure.Enums
{
    public class SexEnum
    {
        /// <summary>
        /// 未知
        /// </summary>
        public const int UnKnow = 0;

        /// <summary>
        /// 男
        /// </summary>
        public const int Man = 1;

        /// <summary>
        /// 女
        /// </summary>
        public const int Women = 2;

        /// <summary>
        /// 数据库枚举名称
        /// </summary>
        public const string EnumName = "Sex";

    }

    public class BoolEnum
    {
        /// <summary>
        /// 是
        /// </summary>
        public const int Yes = 1;

        /// <summary>
        /// 否
        /// </summary>
        public const int No = 0;

        /// <summary>
        /// 数据库枚举名称
        /// </summary>
        public const string EnumName = "Bool";

    }

    /// <summary>
    /// 操作类别
    /// </summary>
    public enum ActionTypeEnum
    {
        /// <summary>
        /// 转发
        /// </summary>
        [Description("转发")]
        Trend = 1,
        /// <summary>
        /// 浏览
        /// </summary>
        [Description("浏览")]
        View = 2,
        /// <summary>
        /// 答题
        /// </summary>
        [Description("答题")]
        Answer = 3,
        /// <summary>
        /// 评论
        /// </summary>
        [Description("评论")]
        Comment = 4,
        /// <summary>
        /// 点赞
        /// </summary>
        [Description("点赞")]
        Like = 5,
        /// <summary>
        /// 取消点赞
        /// </summary>
        [Description("取消点赞")]
        UnLike = 6
    }
    /// <summary>
    /// 浏览类型
    /// </summary>
    public enum TrailTypeEnum
    {
        /// <summary>
        /// 产品
        /// </summary>
        [Description("产品")]
        Product = 1,
        /// <summary>
        /// 名片
        /// </summary>
        [Description("名片")]
        Card = 2,
        /// <summary>
        /// 文章
        /// </summary>
        [Description("文章")]
        Article = 3,
        /// <summary>
        /// 趣味问答
        /// </summary>
        [Description("趣味问答")]
        Riddle = 4,
        /// <summary>
        /// 小程序
        /// </summary>
        [Description("小程序")]
        Mini = 5,
        /// <summary>
        /// 小游戏
        /// </summary>
        [Description("小游戏")]
        Play = 6
    }

    public class SceneEnum
    {
        /// <summary>
        /// 小程序
        /// </summary>
        public const int Mini = 1;

        /// <summary>
        /// 公众号
        /// </summary>
        public const int Subscribe = 2;

        /// <summary>
        /// 数据库枚举名称
        /// </summary>
        public const string EnumName = "Scene";

    }

    public class UserTypeEnum
    {
        /// <summary>
        /// 个人
        /// </summary>
        public const int Personal = 1;

        /// <summary>
        /// 公司
        /// </summary>
        public const int Company = 2;

        /// <summary>
        /// 数据库枚举名称
        /// </summary>
        public const string EnumName = "UserType";

    }

    public class ShareTypeEnum
    {
        /// <summary>
        /// 个人不共享
        /// </summary>
        public const int None = 1;

        /// <summary>
        /// 共享所有人
        /// </summary>
        public const int All = 2;

        /// <summary>
        /// 共享特定群组
        /// </summary>
        public const int Some = 3;

        /// <summary>
        /// 数据库枚举名称
        /// </summary>
        public const string EnumName = "ShareType";

    }

    /// <summary>
    /// 通信制式类型
    /// </summary>
    public enum SmsCardTelTypeEnum
    {
        /// <summary>
        /// 移动
        /// </summary>
        [Description("移动")]
        CMCC = 1,
        /// <summary>
        /// 联通
        /// </summary>
        [Description("联通")]
        CUCC = 2,
        /// <summary>
        /// 电信
        /// </summary>
        [Description("电信")]
        CTCC = 3
    }

    public enum SmsTaskStatusEnum
    {
        /// <summary>
        /// 执行中
        /// </summary>
        [Description("执行中")]
        Executing = 1,
        /// <summary>
        /// 停止
        /// </summary>
        [Description("停止")]
        Stop = 1
    }

    public enum TimeTypeEnum
    {
        /// <summary>
        /// 每天固定时间段执行固定数量
        /// </summary>
        [Description("每天固定时间段执行固定数量")]
        DayNum = 1,
        /// <summary>
        /// 每周固定时间段执行固定数量
        /// </summary>
        [Description("每周固定时间段执行固定数量")]
        WeekNum = 2,
        /// <summary>
        /// 每月固定时间段执行固定数量
        /// </summary>
        [Description("每月固定时间段执行固定数量")]
        MonthNum = 3,
        /// <summary>
        /// 指定日期时间段执行固定数量
        /// </summary>
        [Description("指定日期时间段执行固定数量")]
        CustomNum = 4
    }

    public enum SmsDateTypeEnum
    {
        /// <summary>
        /// 代表周几
        /// </summary>
        [Description("代表周几")]
        WeekDate = 1,
        /// <summary>
        /// 指定日期
        /// </summary>
        [Description("指定日期")]
        CustomDate = 2,
    }

    public enum SmsWeekEnum
    {
        /// <summary>
        /// 周一
        /// </summary>
        [Description("周一")]
        Mon = 1,
        /// <summary>
        /// 周二
        /// </summary>
        [Description("周二")]
        Tue = 2,
        /// <summary>
        /// 周三
        /// </summary>
        [Description("周三")]
        Wed = 3,
        /// <summary>
        /// 周四
        /// </summary>
        [Description("周四")]
        Thu = 4,
        /// <summary>
        /// 周五
        /// </summary>
        [Description("周五")]
        Fri = 5,
        /// <summary>
        /// 周六
        /// </summary>
        [Description("周六")]
        Sat = 6,
        /// <summary>
        /// 周日
        /// </summary>
        [Description("周日")]
        Sun = 7
    }

    /// <summary>
    /// 客户卡级别
    /// </summary>
    public enum UserCardLevel
    {

        /// <summary>
        /// 普通卡
        /// </summary>
        [Description("普通卡")]
        WhiteSilver = 1,

        /// <summary>
        /// 黑金卡
        /// </summary>
        [Description("黑金卡")]
        BlackGold = 2
    }

    /// <summary>
    /// 是否需要定位 
    /// </summary>
    public enum IsLocationName
    {
        /// <summary>
        /// 否
        /// </summary>
        [Description("否")]
        N = 0,
        /// <summary>
        /// 是
        /// </summary>
        [Description("是")]
        Y = 1
    }

    /// <summary>
    /// 客户卡内容分类
    /// </summary>
    public enum UserCardContentCardType
    {
        /// <summary>
        /// 暂未跳转
        /// </summary>
        [Description("暂未跳转")]
        None = 1,
        /// <summary>
        /// H5跳转
        /// </summary>
        [Description("H5跳转")]
        H5 = 2,
        /// <summary>
        /// 小程序
        /// </summary>
        [Description("小程序")]
        MiniApp = 3,
        /// <summary>
        /// 拨打电话
        /// </summary>
        [Description("拨打电话")]
        Mobile = 4
    }

    /// <summary>
    /// 客户卡内容分类
    /// </summary>
    public enum ShowRangeEnum
    {
        /// <summary>
        /// 所有群 
        /// </summary>
        [Description("所有群")]
        All = 1,
        /// <summary>
        /// 特定群
        /// </summary>
        [Description("特定群")]
        Special = 2
    }

    public enum MobileGroupEnum
    {
        /// <summary>
        /// 道路救援 
        /// </summary>
        [Description("道路救援")]
        RoadRescue = 1,
        /// <summary>
        /// 道路救援 
        /// </summary>
        [Description("保险报案")]
        Insure = 2,
        /// <summary>
        /// 道路救援 
        /// </summary>
        [Description("交警报案")]
        TrafficPolice = 3,
        /// <summary>
        /// 道路救援 
        /// </summary>
        [Description("挪车电话")]
        MoveCarMobile = 4
    }

    /// <summary>
    /// 广告分类
    /// </summary>
    public enum BannerCategoryEnum
    {
        /// <summary>
        /// 今日推荐
        /// </summary>
        [Description("今日推荐")]
        Recommend = 1,
        /// <summary>
        /// 车趣杂谈 
        /// </summary>
        [Description("车趣杂谈")]
        CarDiscuss = 2,
        /// <summary>
        /// 车友生活 
        /// </summary>
        [Description("车友生活")]
        CarLife = 3,
        /// <summary>
        /// 丽人馆 
        /// </summary>
        [Description("丽人馆")]
        BeautifulHall = 4,
        /// <summary>
        /// 群空间 
        /// </summary>
        [Description("群空间")]
        GroupSpace = 5
    }

    /// <summary>
    /// 支付状态
    /// 参见DicPayState
    /// </summary>
    public enum PayStateEnum
    {
        [Description("未付款")]
        NoPay = 0,
        [Description("等待付款")]
        WaitPay = 1,
        [Description("已经付款")]
        Payed = 2,
        [Description("退款中")]
        RefundIng = 3,
        [Description("退款成功")]
        RefundSuccess = 4,
        [Description("退款失败")]
        RefundFail = 5
    }

    /// <summary>
    /// 支付业务类型
    /// </summary>
    public enum BusinessTypeTypeEnum
    {
        [Description("车主卡")]
        UserCard = 1
    }

    /// <summary>
    /// 支付平台
    /// </summary>
    public enum PayPlatformEnum
    {
        [Description("微信")]
        Wx = 1,
        [Description("支付宝")]
        AliPay = 2
    }

    /// <summary>
    /// 直播室状态
    /// </summary>
    public enum LiveRoomStatus
    {
        [Description("未开始")]
        No = 1,
        [Description("直播中")]
        OnLine = 2,
        [Description("已下线")]
        Off = 3
    }
}
